package com.ta.stage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName(value = "role_menu")
@ApiModel(description = "角色权限表")
public class RoleMenu implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    @TableField(value = "role_id")
    @ApiModelProperty(value = "角色编号")
    private String roleID;

    @TableField(value = "menu_id")
    @ApiModelProperty(value = "权限编号")
    private Float menuId;
}
